package uztest;

import java.util.List;

import org.hibernate.Query;
import org.hibernate.Session;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

import dao.EgnScenario;

import ui.tempdao.EgnMarketVariDao;
import ui.tempdao.EgnScenarioDao;

public class TestEgnScenario {
	private final static Logger logger =
		LoggerFactory.getLogger(TestEgnScenario.class);

	/**
	 * @param args
	 */
	public static void main(String[] args) {
		
		aaa();
		bbb();
		ccc();
//		ddd();
	}
	
	private static void aaa(){
		List<EgnScenario> rst ;
		EgnScenarioDao input = new EgnScenarioDao();
		rst =input.getAllEgnScenario();

		for(EgnScenario aa: rst){
			logger.debug("Mv Type 1 :{},{}",aa.getSceId(),aa.getSceSetId());
		}
	}
	private static void bbb(){
		String sceSetId ="Whatif";
		List<EgnScenario> rst ;
		EgnScenarioDao input = new EgnScenarioDao();
		rst =input.getEgnScenario(sceSetId);

		for(EgnScenario aa: rst){
			logger.debug("Mv Type 2 :{},{}",aa.getSceId(),aa.getSceSetId());
		}
	}
	private static void ccc(){
		List<String> rst ;
		EgnScenarioDao input = new EgnScenarioDao();
		rst =input.getEgnScenaioSetId();

		for(String aa: rst){
			logger.debug("Mv Type 3 :{},{}",aa);
		}
	}
}
